#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>
int my_strlen(char* str)
{
	int count = 0;
	assert(str != NULL);
	while (*str++ !='\0')
	{
		count++;
	}
	return count;
}
int main()
{
	char arr[20] = "hello world";
	int re = my_strlen(arr);
	printf("%d", re);
	return 0;
}